package bean;

public class Teacher {

	private String t_id;
	private String t_name;
	private int t_age;
	private String t_address;
	private String c_id;
	
	public String getT_id() {
		return t_id;
	}
	public void setT_id(String t_id) {
		this.t_id = t_id;
	}
	public String getT_name() {
		return t_name;
	}
	public void setT_name(String t_name) {
		this.t_name = t_name;
	}
	public int getT_age() {
		return t_age;
	}
	public void setT_age(int t_age) {
		this.t_age = t_age;
	}
	public String getT_address() {
		return t_address;
	}
	public void setT_address(String t_address) {
		this.t_address = t_address;
	}
	public String getC_id() {
		return c_id;
	}
	public void setC_id(String c_id) {
		this.c_id = c_id;
	}
	
	public Teacher(String t_id, String t_name, int t_age, String t_address, String c_id) {
		super();
		this.t_id = t_id;
		this.t_name = t_name;
		this.t_age = t_age;
		this.t_address = t_address;
		this.c_id = c_id;
	}
	public Teacher(String t_name, int t_age, String t_address, String c_id) {
		super();
		this.t_name = t_name;
		this.t_age = t_age;
		this.t_address = t_address;
		this.c_id = c_id;
	}
	
	public Teacher() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	@Override
	public String toString() {
		return "Teacher [t_id=" + t_id + ", t_name=" + t_name + ", t_age=" + t_age + ", t_address="
				+ t_address + ", c_id=" + c_id + "]";
	}
	
}
